// SETUP

clear

use IOdelegitimation_AnalysisFrame_Blinded // Note that the data file needs to be in the same folder as this do-file

ssc install balancetable

ssc install outreg2

// PREPARATIONS

gen BlindedID = _n

svyset BlindedID [pweight=weight], strata(Country_Name)

label variable UN_Confidence "Confidence in the UN"
label variable WB_Confidence "Confidence in the World Bank"
label variable WHO_Confidence "Confidence in the WHO"
label variable LegGov_UNexperiment_Ministry "Government delegitimation of UN"
label variable LegGov_WBexperiment_Ministry "Government delegitimation of World Bank"
label variable LegGov_WHOexperiment_Ministry "Government delegitimation of WHO"
label variable LegGov_UNexperiment_Protest "Citizen protest against UN"
label variable LegGov_WBexperiment_Protest "Citizen protest against World Bank"
label variable LegGov_WHOexperiment_Protest "Citizen protest against WHO"
label variable LegGov_UNexperiment_Self "Self-legitimation statement by UN"
label variable LegGov_WBexperiment_Self "Self-legitimation statement by World Bank"
label variable LegGov_WHOexperiment_Self "Self-legitimation statement by WHO"
label variable LegGov_UNexperiment_Reform "Reform by UN"
label variable LegGov_WBexperiment_Reform "Reform by World Bank"
label variable LegGov_WHOexperiment_Reform "Reform by WHO"
label variable LegGov_UNexperimnt_Mnstry_X_Slf "Government delegitimation of UN vs. self-legitimation statement by UN"
label variable LegGov_WBexperimnt_Mnstry_X_Slf "Government delegitimation of World Bank vs. self-legitimation statement by World Bank"
label variable LegGov_WHOexpermnt_Mnstry_X_Slf "Government delegitimation of WHO vs. self-legitimation statement by WHO"
label variable LegGov_UNexperiment_Prtst_X_Slf "Citizen protest against UN vs. self-legitimation statement by UN"
label variable LegGov_WBexperiment_Prtst_X_Slf "Citizen protest against World Bank vs. self-legitimation statement by World Bank"
label variable LegGov_WHOexperimnt_Prtst_X_Slf "Citizen protest against WHO vs. self-legitimation statement by WHO"
label variable LegGov_UNexpermnt_Mnstry_X_Rfrm "Government delegitimation of UN vs. UN reform"
label variable LegGov_WBexpermnt_Mnstry_X_Rfrm "Government delegitimation of World Bank vs. World Bank reform"
label variable LegGov_WHOexprmnt_Mnstry_X_Rfrm "Government delegitimation of WHO vs. WHO reform"
label variable LegGov_UNexperimnt_Prtst_X_Rfrm "Citizen protest against UN vs. UN reform"
label variable LegGov_WBexperimnt_Prtst_X_Rfrm "Citizen protest against World Bank vs. World Bank reform"
label variable LegGov_WHOexpermnt_Prtst_X_Rfrm "Citizen protest against WHO vs. WHO reform"

// ANALYSES

// Sample statistics

tab Country_Name

/// Main dependent variable: confidence (Figures 1-3 in the manuscript and Appendix 3)

svy: reg UN_Confidence LegGov_UNexperiment_Ministry
svy: reg WB_Confidence LegGov_WBexperiment_Ministry
svy: reg WHO_Confidence LegGov_WHOexperiment_Ministry

svy: reg UN_Confidence LegGov_UNexperiment_Protest
svy: reg WB_Confidence LegGov_WBexperiment_Protest
svy: reg WHO_Confidence LegGov_WHOexperiment_Protest

svy: reg UN_Confidence LegGov_UNexperiment_Self
svy: reg WB_Confidence LegGov_WBexperiment_Self
svy: reg WHO_Confidence LegGov_WHOexperiment_Self

svy: reg UN_Confidence LegGov_UNexperiment_Reform
svy: reg WB_Confidence LegGov_WBexperiment_Reform
svy: reg WHO_Confidence LegGov_WHOexperiment_Reform

svy: reg UN_Confidence LegGov_UNexperimnt_Mnstry_X_Slf
svy: reg WB_Confidence LegGov_WBexperimnt_Mnstry_X_Slf
svy: reg WHO_Confidence LegGov_WHOexpermnt_Mnstry_X_Slf

svy: reg UN_Confidence LegGov_UNexperiment_Prtst_X_Slf
svy: reg WB_Confidence LegGov_WBexperiment_Prtst_X_Slf
svy: reg WHO_Confidence LegGov_WHOexperimnt_Prtst_X_Slf

svy: reg UN_Confidence LegGov_UNexpermnt_Mnstry_X_Rfrm
svy: reg WB_Confidence LegGov_WBexpermnt_Mnstry_X_Rfrm
svy: reg WHO_Confidence LegGov_WHOexprmnt_Mnstry_X_Rfrm

svy: reg UN_Confidence LegGov_UNexperimnt_Prtst_X_Rfrm
svy: reg WB_Confidence LegGov_WBexperimnt_Prtst_X_Rfrm
svy: reg WHO_Confidence LegGov_WHOexpermnt_Prtst_X_Rfrm

/// Alternative legitimacy measure: possession of power (Appendix 5)

svy: reg UN_PowerPossession LegGov_UNexperiment_Ministry
svy: reg WB_PowerPossession LegGov_WBexperiment_Ministry
svy: reg WHO_PowerPossession LegGov_WHOexperiment_Ministry

svy: reg UN_PowerPossession LegGov_UNexperiment_Protest
svy: reg WB_PowerPossession LegGov_WBexperiment_Protest
svy: reg WHO_PowerPossession LegGov_WHOexperiment_Protest

svy: reg UN_PowerPossession LegGov_UNexperiment_Self
svy: reg WB_PowerPossession LegGov_WBexperiment_Self
svy: reg WHO_PowerPossession LegGov_WHOexperiment_Self

svy: reg UN_PowerPossession LegGov_UNexperiment_Reform
svy: reg WB_PowerPossession LegGov_WBexperiment_Reform
svy: reg WHO_PowerPossession LegGov_WHOexperiment_Reform

svy: reg UN_PowerPossession LegGov_UNexperimnt_Mnstry_X_Slf
svy: reg WB_PowerPossession LegGov_WBexperimnt_Mnstry_X_Slf
svy: reg WHO_PowerPossession LegGov_WHOexpermnt_Mnstry_X_Slf

svy: reg UN_PowerPossession LegGov_UNexperiment_Prtst_X_Slf
svy: reg WB_PowerPossession LegGov_WBexperiment_Prtst_X_Slf
svy: reg WHO_PowerPossession LegGov_WHOexperimnt_Prtst_X_Slf

svy: reg UN_PowerPossession LegGov_UNexpermnt_Mnstry_X_Rfrm
svy: reg WB_PowerPossession LegGov_WBexpermnt_Mnstry_X_Rfrm
svy: reg WHO_PowerPossession LegGov_WHOexprmnt_Mnstry_X_Rfrm

svy: reg UN_PowerPossession LegGov_UNexperimnt_Prtst_X_Rfrm
svy: reg WB_PowerPossession LegGov_WBexperimnt_Prtst_X_Rfrm
svy: reg WHO_PowerPossession LegGov_WHOexpermnt_Prtst_X_Rfrm

/// Alternative legitimacy measure: power level (Appendix 6)

svy: reg UN_PowerLevel LegGov_UNexperiment_Ministry
svy: reg WB_PowerLevel LegGov_WBexperiment_Ministry
svy: reg WHO_PowerLevel LegGov_WHOexperiment_Ministry

svy: reg UN_PowerLevel LegGov_UNexperiment_Protest
svy: reg WB_PowerLevel LegGov_WBexperiment_Protest
svy: reg WHO_PowerLevel LegGov_WHOexperiment_Protest

svy: reg UN_PowerLevel LegGov_UNexperiment_Self
svy: reg WB_PowerLevel LegGov_WBexperiment_Self
svy: reg WHO_PowerLevel LegGov_WHOexperiment_Self

svy: reg UN_PowerLevel LegGov_UNexperiment_Reform
svy: reg WB_PowerLevel LegGov_WBexperiment_Reform
svy: reg WHO_PowerLevel LegGov_WHOexperiment_Reform

svy: reg UN_PowerLevel LegGov_UNexperimnt_Mnstry_X_Slf
svy: reg WB_PowerLevel LegGov_WBexperimnt_Mnstry_X_Slf
svy: reg WHO_PowerLevel LegGov_WHOexpermnt_Mnstry_X_Slf

svy: reg UN_PowerLevel LegGov_UNexperiment_Prtst_X_Slf
svy: reg WB_PowerLevel LegGov_WBexperiment_Prtst_X_Slf
svy: reg WHO_PowerLevel LegGov_WHOexperimnt_Prtst_X_Slf

svy: reg UN_PowerLevel LegGov_UNexpermnt_Mnstry_X_Rfrm
svy: reg WB_PowerLevel LegGov_WBexpermnt_Mnstry_X_Rfrm
svy: reg WHO_PowerLevel LegGov_WHOexprmnt_Mnstry_X_Rfrm

svy: reg UN_PowerLevel LegGov_UNexperimnt_Prtst_X_Rfrm
svy: reg WB_PowerLevel LegGov_WBexperimnt_Prtst_X_Rfrm
svy: reg WHO_PowerLevel LegGov_WHOexpermnt_Prtst_X_Rfrm

// Subgroup analysis: Government delegitimation by country (Appendix 4)

svy: reg UN_Confidence LegGov_UNexperiment_Ministry if Country_Name=="Australia"
svy: reg WB_Confidence LegGov_WBexperiment_Ministry if Country_Name=="Australia"
svy: reg WHO_Confidence LegGov_WHOexperiment_Ministry if Country_Name=="Australia"

svy: reg UN_Confidence LegGov_UNexperiment_Ministry if Country_Name=="Canada"
svy: reg WB_Confidence LegGov_WBexperiment_Ministry if Country_Name=="Canada"
svy: reg WHO_Confidence LegGov_WHOexperiment_Ministry if Country_Name=="Canada"

svy: reg UN_Confidence LegGov_UNexperiment_Ministry if Country_Name=="Colombia"
svy: reg WB_Confidence LegGov_WBexperiment_Ministry if Country_Name=="Colombia"
svy: reg WHO_Confidence LegGov_WHOexperiment_Ministry if Country_Name=="Colombia"

svy: reg UN_Confidence LegGov_UNexperiment_Ministry if Country_Name=="Egypt"
svy: reg WB_Confidence LegGov_WBexperiment_Ministry if Country_Name=="Egypt"
svy: reg WHO_Confidence LegGov_WHOexperiment_Ministry if Country_Name=="Egypt"

svy: reg UN_Confidence LegGov_UNexperiment_Ministry if Country_Name=="France"
svy: reg WB_Confidence LegGov_WBexperiment_Ministry if Country_Name=="France"
svy: reg WHO_Confidence LegGov_WHOexperiment_Ministry if Country_Name=="France"

svy: reg UN_Confidence LegGov_UNexperiment_Ministry if Country_Name=="Hungary"
svy: reg WB_Confidence LegGov_WBexperiment_Ministry if Country_Name=="Hungary"
svy: reg WHO_Confidence LegGov_WHOexperiment_Ministry if Country_Name=="Hungary"

svy: reg UN_Confidence LegGov_UNexperiment_Ministry if Country_Name=="Indonesia"
svy: reg WB_Confidence LegGov_WBexperiment_Ministry if Country_Name=="Indonesia"
svy: reg WHO_Confidence LegGov_WHOexperiment_Ministry if Country_Name=="Indonesia"

svy: reg UN_Confidence LegGov_UNexperiment_Ministry if Country_Name=="Kenya"
svy: reg WB_Confidence LegGov_WBexperiment_Ministry if Country_Name=="Kenya"
svy: reg WHO_Confidence LegGov_WHOexperiment_Ministry if Country_Name=="Kenya"

svy: reg UN_Confidence LegGov_UNexperiment_Ministry if Country_Name=="South Korea"
svy: reg WB_Confidence LegGov_WBexperiment_Ministry if Country_Name=="South Korea"
svy: reg WHO_Confidence LegGov_WHOexperiment_Ministry if Country_Name=="South Korea"

svy: reg UN_Confidence LegGov_UNexperiment_Ministry if Country_Name=="Turkey"
svy: reg WB_Confidence LegGov_WBexperiment_Ministry if Country_Name=="Turkey"
svy: reg WHO_Confidence LegGov_WHOexperiment_Ministry if Country_Name=="Turkey"

/// Main dependent variable: confidence

//// Australia

svy: reg UN_Confidence LegGov_UNexperiment_Ministry if Country_Name=="Australia"
outreg2 using Australia_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Ministry if Country_Name=="Australia"
outreg2 using Australia_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Ministry if Country_Name=="Australia"
outreg2 using Australia_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Protest if Country_Name=="Australia"
outreg2 using Australia_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Protest if Country_Name=="Australia"
outreg2 using Australia_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Protest if Country_Name=="Australia"
outreg2 using Australia_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Self if Country_Name=="Australia"
outreg2 using Australia_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Self if Country_Name=="Australia"
outreg2 using Australia_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Self if Country_Name=="Australia"
outreg2 using Australia_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Reform if Country_Name=="Australia"
outreg2 using Australia_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Reform if Country_Name=="Australia"
outreg2 using Australia_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Reform if Country_Name=="Australia"
outreg2 using Australia_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperimnt_Mnstry_X_Slf if Country_Name=="Australia"
outreg2 using Australia_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperimnt_Mnstry_X_Slf if Country_Name=="Australia"
outreg2 using Australia_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexpermnt_Mnstry_X_Slf if Country_Name=="Australia"
outreg2 using Australia_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Prtst_X_Slf if Country_Name=="Australia"
outreg2 using Australia_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Prtst_X_Slf if Country_Name=="Australia"
outreg2 using Australia_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperimnt_Prtst_X_Slf if Country_Name=="Australia"
outreg2 using Australia_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexpermnt_Mnstry_X_Rfrm if Country_Name=="Australia"
outreg2 using Australia_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexpermnt_Mnstry_X_Rfrm if Country_Name=="Australia"
outreg2 using Australia_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexprmnt_Mnstry_X_Rfrm if Country_Name=="Australia"
outreg2 using Australia_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperimnt_Prtst_X_Rfrm if Country_Name=="Australia"
outreg2 using Australia_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperimnt_Prtst_X_Rfrm if Country_Name=="Australia"
outreg2 using Australia_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexpermnt_Prtst_X_Rfrm if Country_Name=="Australia"
outreg2 using Australia_WHOconfidence, word label

//// Canada

svy: reg UN_Confidence LegGov_UNexperiment_Ministry if Country_Name=="Canada"
outreg2 using Canada_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Ministry if Country_Name=="Canada"
outreg2 using Canada_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Ministry if Country_Name=="Canada"
outreg2 using Canada_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Protest if Country_Name=="Canada"
outreg2 using Canada_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Protest if Country_Name=="Canada"
outreg2 using Canada_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Protest if Country_Name=="Canada"
outreg2 using Canada_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Self if Country_Name=="Canada"
outreg2 using Canada_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Self if Country_Name=="Canada"
outreg2 using Canada_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Self if Country_Name=="Canada"
outreg2 using Canada_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Reform if Country_Name=="Canada"
outreg2 using Canada_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Reform if Country_Name=="Canada"
outreg2 using Canada_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Reform if Country_Name=="Canada"
outreg2 using Canada_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperimnt_Mnstry_X_Slf if Country_Name=="Canada"
outreg2 using Canada_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperimnt_Mnstry_X_Slf if Country_Name=="Canada"
outreg2 using Canada_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexpermnt_Mnstry_X_Slf if Country_Name=="Canada"
outreg2 using Canada_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Prtst_X_Slf if Country_Name=="Canada"
outreg2 using Canada_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Prtst_X_Slf if Country_Name=="Canada"
outreg2 using Canada_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperimnt_Prtst_X_Slf if Country_Name=="Canada"
outreg2 using Canada_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexpermnt_Mnstry_X_Rfrm if Country_Name=="Canada"
outreg2 using Canada_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexpermnt_Mnstry_X_Rfrm if Country_Name=="Canada"
outreg2 using Canada_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexprmnt_Mnstry_X_Rfrm if Country_Name=="Canada"
outreg2 using Canada_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperimnt_Prtst_X_Rfrm if Country_Name=="Canada"
outreg2 using Canada_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperimnt_Prtst_X_Rfrm if Country_Name=="Canada"
outreg2 using Canada_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexpermnt_Prtst_X_Rfrm if Country_Name=="Canada"
outreg2 using Canada_WHOconfidence, word label

//// Colombia

svy: reg UN_Confidence LegGov_UNexperiment_Ministry if Country_Name=="Colombia"
outreg2 using Colombia_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Ministry if Country_Name=="Colombia"
outreg2 using Colombia_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Ministry if Country_Name=="Colombia"
outreg2 using Colombia_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Protest if Country_Name=="Colombia"
outreg2 using Colombia_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Protest if Country_Name=="Colombia"
outreg2 using Colombia_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Protest if Country_Name=="Colombia"
outreg2 using Colombia_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Self if Country_Name=="Colombia"
outreg2 using Colombia_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Self if Country_Name=="Colombia"
outreg2 using Colombia_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Self if Country_Name=="Colombia"
outreg2 using Colombia_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Reform if Country_Name=="Colombia"
outreg2 using Colombia_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Reform if Country_Name=="Colombia"
outreg2 using Colombia_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Reform if Country_Name=="Colombia"
outreg2 using Colombia_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperimnt_Mnstry_X_Slf if Country_Name=="Colombia"
outreg2 using Colombia_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperimnt_Mnstry_X_Slf if Country_Name=="Colombia"
outreg2 using Colombia_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexpermnt_Mnstry_X_Slf if Country_Name=="Colombia"
outreg2 using Colombia_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Prtst_X_Slf if Country_Name=="Colombia"
outreg2 using Colombia_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Prtst_X_Slf if Country_Name=="Colombia"
outreg2 using Colombia_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperimnt_Prtst_X_Slf if Country_Name=="Colombia"
outreg2 using Colombia_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexpermnt_Mnstry_X_Rfrm if Country_Name=="Colombia"
outreg2 using Colombia_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexpermnt_Mnstry_X_Rfrm if Country_Name=="Colombia"
outreg2 using Colombia_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexprmnt_Mnstry_X_Rfrm if Country_Name=="Colombia"
outreg2 using Colombia_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperimnt_Prtst_X_Rfrm if Country_Name=="Colombia"
outreg2 using Colombia_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperimnt_Prtst_X_Rfrm if Country_Name=="Colombia"
outreg2 using Colombia_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexpermnt_Prtst_X_Rfrm if Country_Name=="Colombia"
outreg2 using Colombia_WHOconfidence, word label

//// Egypt

svy: reg UN_Confidence LegGov_UNexperiment_Ministry if Country_Name=="Egypt"
outreg2 using Egypt_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Ministry if Country_Name=="Egypt"
outreg2 using Egypt_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Ministry if Country_Name=="Egypt"
outreg2 using Egypt_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Protest if Country_Name=="Egypt"
outreg2 using Egypt_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Protest if Country_Name=="Egypt"
outreg2 using Egypt_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Protest if Country_Name=="Egypt"
outreg2 using Egypt_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Self if Country_Name=="Egypt"
outreg2 using Egypt_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Self if Country_Name=="Egypt"
outreg2 using Egypt_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Self if Country_Name=="Egypt"
outreg2 using Egypt_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Reform if Country_Name=="Egypt"
outreg2 using Egypt_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Reform if Country_Name=="Egypt"
outreg2 using Egypt_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Reform if Country_Name=="Egypt"
outreg2 using Egypt_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperimnt_Mnstry_X_Slf if Country_Name=="Egypt"
outreg2 using Egypt_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperimnt_Mnstry_X_Slf if Country_Name=="Egypt"
outreg2 using Egypt_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexpermnt_Mnstry_X_Slf if Country_Name=="Egypt"
outreg2 using Egypt_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Prtst_X_Slf if Country_Name=="Egypt"
outreg2 using Egypt_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Prtst_X_Slf if Country_Name=="Egypt"
outreg2 using Egypt_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperimnt_Prtst_X_Slf if Country_Name=="Egypt"
outreg2 using Egypt_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexpermnt_Mnstry_X_Rfrm if Country_Name=="Egypt"
outreg2 using Egypt_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexpermnt_Mnstry_X_Rfrm if Country_Name=="Egypt"
outreg2 using Egypt_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexprmnt_Mnstry_X_Rfrm if Country_Name=="Egypt"
outreg2 using Egypt_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperimnt_Prtst_X_Rfrm if Country_Name=="Egypt"
outreg2 using Egypt_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperimnt_Prtst_X_Rfrm if Country_Name=="Egypt"
outreg2 using Egypt_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexpermnt_Prtst_X_Rfrm if Country_Name=="Egypt"
outreg2 using Egypt_WHOconfidence, word label

//// France

svy: reg UN_Confidence LegGov_UNexperiment_Ministry if Country_Name=="France"
outreg2 using France_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Ministry if Country_Name=="France"
outreg2 using France_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Ministry if Country_Name=="France"
outreg2 using France_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Protest if Country_Name=="France"
outreg2 using France_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Protest if Country_Name=="France"
outreg2 using France_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Protest if Country_Name=="France"
outreg2 using France_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Self if Country_Name=="France"
outreg2 using France_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Self if Country_Name=="France"
outreg2 using France_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Self if Country_Name=="France"
outreg2 using France_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Reform if Country_Name=="France"
outreg2 using France_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Reform if Country_Name=="France"
outreg2 using France_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Reform if Country_Name=="France"
outreg2 using France_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperimnt_Mnstry_X_Slf if Country_Name=="France"
outreg2 using France_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperimnt_Mnstry_X_Slf if Country_Name=="France"
outreg2 using France_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexpermnt_Mnstry_X_Slf if Country_Name=="France"
outreg2 using France_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Prtst_X_Slf if Country_Name=="France"
outreg2 using France_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Prtst_X_Slf if Country_Name=="France"
outreg2 using France_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperimnt_Prtst_X_Slf if Country_Name=="France"
outreg2 using France_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexpermnt_Mnstry_X_Rfrm if Country_Name=="France"
outreg2 using France_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexpermnt_Mnstry_X_Rfrm if Country_Name=="France"
outreg2 using France_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexprmnt_Mnstry_X_Rfrm if Country_Name=="France"
outreg2 using France_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperimnt_Prtst_X_Rfrm if Country_Name=="France"
outreg2 using France_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperimnt_Prtst_X_Rfrm if Country_Name=="France"
outreg2 using France_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexpermnt_Prtst_X_Rfrm if Country_Name=="France"
outreg2 using France_WHOconfidence, word label

//// Hungary

svy: reg UN_Confidence LegGov_UNexperiment_Ministry if Country_Name=="Hungary"
outreg2 using Hungary_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Ministry if Country_Name=="Hungary"
outreg2 using Hungary_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Ministry if Country_Name=="Hungary"
outreg2 using Hungary_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Protest if Country_Name=="Hungary"
outreg2 using Hungary_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Protest if Country_Name=="Hungary"
outreg2 using Hungary_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Protest if Country_Name=="Hungary"
outreg2 using Hungary_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Self if Country_Name=="Hungary"
outreg2 using Hungary_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Self if Country_Name=="Hungary"
outreg2 using Hungary_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Self if Country_Name=="Hungary"
outreg2 using Hungary_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Reform if Country_Name=="Hungary"
outreg2 using Hungary_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Reform if Country_Name=="Hungary"
outreg2 using Hungary_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Reform if Country_Name=="Hungary"
outreg2 using Hungary_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperimnt_Mnstry_X_Slf if Country_Name=="Hungary"
outreg2 using Hungary_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperimnt_Mnstry_X_Slf if Country_Name=="Hungary"
outreg2 using Hungary_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexpermnt_Mnstry_X_Slf if Country_Name=="Hungary"
outreg2 using Hungary_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Prtst_X_Slf if Country_Name=="Hungary"
outreg2 using Hungary_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Prtst_X_Slf if Country_Name=="Hungary"
outreg2 using Hungary_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperimnt_Prtst_X_Slf if Country_Name=="Hungary"
outreg2 using Hungary_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexpermnt_Mnstry_X_Rfrm if Country_Name=="Hungary"
outreg2 using Hungary_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexpermnt_Mnstry_X_Rfrm if Country_Name=="Hungary"
outreg2 using Hungary_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexprmnt_Mnstry_X_Rfrm if Country_Name=="Hungary"
outreg2 using Hungary_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperimnt_Prtst_X_Rfrm if Country_Name=="Hungary"
outreg2 using Hungary_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperimnt_Prtst_X_Rfrm if Country_Name=="Hungary"
outreg2 using Hungary_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexpermnt_Prtst_X_Rfrm if Country_Name=="Hungary"
outreg2 using Hungary_WHOconfidence, word label

//// Indonesia

svy: reg UN_Confidence LegGov_UNexperiment_Ministry if Country_Name=="Indonesia"
outreg2 using Indonesia_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Ministry if Country_Name=="Indonesia"
outreg2 using Indonesia_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Ministry if Country_Name=="Indonesia"
outreg2 using Indonesia_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Protest if Country_Name=="Indonesia"
outreg2 using Indonesia_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Protest if Country_Name=="Indonesia"
outreg2 using Indonesia_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Protest if Country_Name=="Indonesia"
outreg2 using Indonesia_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Self if Country_Name=="Indonesia"
outreg2 using Indonesia_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Self if Country_Name=="Indonesia"
outreg2 using Indonesia_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Self if Country_Name=="Indonesia"
outreg2 using Indonesia_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Reform if Country_Name=="Indonesia"
outreg2 using Indonesia_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Reform if Country_Name=="Indonesia"
outreg2 using Indonesia_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Reform if Country_Name=="Indonesia"
outreg2 using Indonesia_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperimnt_Mnstry_X_Slf if Country_Name=="Indonesia"
outreg2 using Indonesia_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperimnt_Mnstry_X_Slf if Country_Name=="Indonesia"
outreg2 using Indonesia_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexpermnt_Mnstry_X_Slf if Country_Name=="Indonesia"
outreg2 using Indonesia_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Prtst_X_Slf if Country_Name=="Indonesia"
outreg2 using Indonesia_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Prtst_X_Slf if Country_Name=="Indonesia"
outreg2 using Indonesia_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperimnt_Prtst_X_Slf if Country_Name=="Indonesia"
outreg2 using Indonesia_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexpermnt_Mnstry_X_Rfrm if Country_Name=="Indonesia"
outreg2 using Indonesia_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexpermnt_Mnstry_X_Rfrm if Country_Name=="Indonesia"
outreg2 using Indonesia_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexprmnt_Mnstry_X_Rfrm if Country_Name=="Indonesia"
outreg2 using Indonesia_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperimnt_Prtst_X_Rfrm if Country_Name=="Indonesia"
outreg2 using Indonesia_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperimnt_Prtst_X_Rfrm if Country_Name=="Indonesia"
outreg2 using Indonesia_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexpermnt_Prtst_X_Rfrm if Country_Name=="Indonesia"
outreg2 using Indonesia_WHOconfidence, word label

//// Kenya

svy: reg UN_Confidence LegGov_UNexperiment_Ministry if Country_Name=="Kenya"
outreg2 using Kenya_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Ministry if Country_Name=="Kenya"
outreg2 using Kenya_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Ministry if Country_Name=="Kenya"
outreg2 using Kenya_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Protest if Country_Name=="Kenya"
outreg2 using Kenya_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Protest if Country_Name=="Kenya"
outreg2 using Kenya_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Protest if Country_Name=="Kenya"
outreg2 using Kenya_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Self if Country_Name=="Kenya"
outreg2 using Kenya_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Self if Country_Name=="Kenya"
outreg2 using Kenya_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Self if Country_Name=="Kenya"
outreg2 using Kenya_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Reform if Country_Name=="Kenya"
outreg2 using Kenya_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Reform if Country_Name=="Kenya"
outreg2 using Kenya_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Reform if Country_Name=="Kenya"
outreg2 using Kenya_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperimnt_Mnstry_X_Slf if Country_Name=="Kenya"
outreg2 using Kenya_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperimnt_Mnstry_X_Slf if Country_Name=="Kenya"
outreg2 using Kenya_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexpermnt_Mnstry_X_Slf if Country_Name=="Kenya"
outreg2 using Kenya_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Prtst_X_Slf if Country_Name=="Kenya"
outreg2 using Kenya_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Prtst_X_Slf if Country_Name=="Kenya"
outreg2 using Kenya_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperimnt_Prtst_X_Slf if Country_Name=="Kenya"
outreg2 using Kenya_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexpermnt_Mnstry_X_Rfrm if Country_Name=="Kenya"
outreg2 using Kenya_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexpermnt_Mnstry_X_Rfrm if Country_Name=="Kenya"
outreg2 using Kenya_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexprmnt_Mnstry_X_Rfrm if Country_Name=="Kenya"
outreg2 using Kenya_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperimnt_Prtst_X_Rfrm if Country_Name=="Kenya"
outreg2 using Kenya_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperimnt_Prtst_X_Rfrm if Country_Name=="Kenya"
outreg2 using Kenya_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexpermnt_Prtst_X_Rfrm if Country_Name=="Kenya"
outreg2 using Kenya_WHOconfidence, word label

//// South Korea

svy: reg UN_Confidence LegGov_UNexperiment_Ministry if Country_Name=="South Korea"
outreg2 using SouthKorea_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Ministry if Country_Name=="South Korea"
outreg2 using SouthKorea_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Ministry if Country_Name=="South Korea"
outreg2 using SouthKorea_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Protest if Country_Name=="South Korea"
outreg2 using SouthKorea_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Protest if Country_Name=="South Korea"
outreg2 using SouthKorea_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Protest if Country_Name=="South Korea"
outreg2 using SouthKorea_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Self if Country_Name=="South Korea"
outreg2 using SouthKorea_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Self if Country_Name=="South Korea"
outreg2 using SouthKorea_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Self if Country_Name=="South Korea"
outreg2 using SouthKorea_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Reform if Country_Name=="South Korea"
outreg2 using SouthKorea_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Reform if Country_Name=="South Korea"
outreg2 using SouthKorea_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Reform if Country_Name=="South Korea"
outreg2 using SouthKorea_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperimnt_Mnstry_X_Slf if Country_Name=="South Korea"
outreg2 using SouthKorea_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperimnt_Mnstry_X_Slf if Country_Name=="South Korea"
outreg2 using SouthKorea_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexpermnt_Mnstry_X_Slf if Country_Name=="South Korea"
outreg2 using SouthKorea_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Prtst_X_Slf if Country_Name=="South Korea"
outreg2 using SouthKorea_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Prtst_X_Slf if Country_Name=="South Korea"
outreg2 using SouthKorea_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperimnt_Prtst_X_Slf if Country_Name=="South Korea"
outreg2 using SouthKorea_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexpermnt_Mnstry_X_Rfrm if Country_Name=="South Korea"
outreg2 using SouthKorea_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexpermnt_Mnstry_X_Rfrm if Country_Name=="South Korea"
outreg2 using SouthKorea_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexprmnt_Mnstry_X_Rfrm if Country_Name=="South Korea"
outreg2 using SouthKorea_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperimnt_Prtst_X_Rfrm if Country_Name=="South Korea"
outreg2 using SouthKorea_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperimnt_Prtst_X_Rfrm if Country_Name=="South Korea"
outreg2 using SouthKorea_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexpermnt_Prtst_X_Rfrm if Country_Name=="South Korea"
outreg2 using SouthKorea_WHOconfidence, word label

//// Turkey

svy: reg UN_Confidence LegGov_UNexperiment_Ministry if Country_Name=="Turkey"
outreg2 using Turkey_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Ministry if Country_Name=="Turkey"
outreg2 using Turkey_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Ministry if Country_Name=="Turkey"
outreg2 using Turkey_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Protest if Country_Name=="Turkey"
outreg2 using Turkey_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Protest if Country_Name=="Turkey"
outreg2 using Turkey_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Protest if Country_Name=="Turkey"
outreg2 using Turkey_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Self if Country_Name=="Turkey"
outreg2 using Turkey_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Self if Country_Name=="Turkey"
outreg2 using Turkey_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Self if Country_Name=="Turkey"
outreg2 using Turkey_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Reform if Country_Name=="Turkey"
outreg2 using Turkey_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Reform if Country_Name=="Turkey"
outreg2 using Turkey_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperiment_Reform if Country_Name=="Turkey"
outreg2 using Turkey_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperimnt_Mnstry_X_Slf if Country_Name=="Turkey"
outreg2 using Turkey_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperimnt_Mnstry_X_Slf if Country_Name=="Turkey"
outreg2 using Turkey_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexpermnt_Mnstry_X_Slf if Country_Name=="Turkey"
outreg2 using Turkey_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperiment_Prtst_X_Slf if Country_Name=="Turkey"
outreg2 using Turkey_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperiment_Prtst_X_Slf if Country_Name=="Turkey"
outreg2 using Turkey_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexperimnt_Prtst_X_Slf if Country_Name=="Turkey"
outreg2 using Turkey_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexpermnt_Mnstry_X_Rfrm if Country_Name=="Turkey"
outreg2 using Turkey_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexpermnt_Mnstry_X_Rfrm if Country_Name=="Turkey"
outreg2 using Turkey_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexprmnt_Mnstry_X_Rfrm if Country_Name=="Turkey"
outreg2 using Turkey_WHOconfidence, word label

svy: reg UN_Confidence LegGov_UNexperimnt_Prtst_X_Rfrm if Country_Name=="Turkey"
outreg2 using Turkey_UNconfidence, word label
svy: reg WB_Confidence LegGov_WBexperimnt_Prtst_X_Rfrm if Country_Name=="Turkey"
outreg2 using Turkey_WBconfidence, word label
svy: reg WHO_Confidence LegGov_WHOexpermnt_Prtst_X_Rfrm if Country_Name=="Turkey"
outreg2 using Turkey_WHOconfidence, word label

// Balance tables (Appendix 1)

replace E2_1 = "." if E2_1 == "NA"
destring E2_1, replace
replace E2_1_1 = "." if E2_1_1 == "NA"
destring E2_1_1, replace
egen Age = rowmax(E2_1 E2_1_1)

replace E2_2 = "." if E2_2 == "NA"
destring E2_2, gen(Gender)

replace E2_4 = "." if E2_4 == "NA"
destring E2_4, gen(Education)

balancetable LegGov_WHOexperiment_Ministry Age Gender Education using BalanceTable_LegGov_WHOexperiment_Ministry.xlsx, replace pvalues
balancetable LegGov_WHOexperiment_Protest Age Gender Education using BalanceTable_LegGov_WHOexperiment_Protest.xlsx, replace pvalues
balancetable LegGov_WHOexperiment_Self Age Gender Education using BalanceTable_LegGov_WHOexperiment_Self.xlsx, replace pvalues
balancetable LegGov_WHOexpermnt_Mnstry_X_Slf Age Gender Education using BalanceTable_LegGov_WHOexpermnt_Mnstry_X_Slf.xlsx, replace pvalues
balancetable LegGov_WHOexperimnt_Prtst_X_Slf Age Gender Education using BalanceTable_LegGov_WHOexperimnt_Prtst_X_Slf.xlsx, replace pvalues
balancetable LegGov_WBexperiment_Ministry Age Gender Education using BalanceTable_LegGov_WBexperiment_Ministry.xlsx, replace pvalues
balancetable LegGov_WBexperiment_Protest Age Gender Education using BalanceTable_LegGov_WBexperiment_Protest.xlsx, replace pvalues
balancetable LegGov_WBexperiment_Self Age Gender Education using BalanceTable_LegGov_WBexperiment_Self.xlsx, replace pvalues
balancetable LegGov_WBexperimnt_Mnstry_X_Slf Age Gender Education using BalanceTable_LegGov_WBexperimnt_Mnstry_X_Slf.xlsx, replace pvalues
balancetable LegGov_WBexperiment_Prtst_X_Slf Age Gender Education using BalanceTable_LegGov_WBexperiment_Prtst_X_Slf.xlsx, replace pvalues
balancetable LegGov_UNexperiment_Ministry Age Gender Education using BalanceTable_LegGov_UNexperiment_Ministry.xlsx, replace pvalues
balancetable LegGov_UNexperiment_Protest Age Gender Education using BalanceTable_LegGov_UNexperiment_Protest.xlsx, replace pvalues
balancetable LegGov_UNexperiment_Self Age Gender Education using BalanceTable_LegGov_UNexperiment_Self.xlsx, replace pvalues
balancetable LegGov_UNexperimnt_Mnstry_X_Slf Age Gender Education using BalanceTable_LegGov_UNexperimnt_Mnstry_X_Slf.xlsx, replace pvalues
balancetable LegGov_UNexperiment_Prtst_X_Slf Age Gender Education using BalanceTable_LegGov_UNexperiment_Prtst_X_Slf.xlsx, replace pvalues
balancetable LegGov_UNexperiment_Reform Age Gender Education using BalanceTable_LegGov_UNexperiment_Reform.xlsx, replace pvalues
balancetable LegGov_WBexperiment_Reform Age Gender Education using BalanceTable_LegGov_WBexperiment_Reform.xlsx, replace pvalues
balancetable LegGov_WHOexperiment_Reform Age Gender Education using BalanceTable_LegGov_WHOexperiment_Reform.xlsx, replace pvalues
balancetable LegGov_UNexpermnt_Mnstry_X_Rfrm Age Gender Education using BalanceTable_LegGov_UNexpermnt_Mnstry_X_Rfrm.xlsx, replace pvalues
balancetable LegGov_UNexperimnt_Prtst_X_Rfrm Age Gender Education using BalanceTable_LegGov_UNexperimnt_Prtst_X_Rfrm.xlsx, replace pvalues
balancetable LegGov_WBexpermnt_Mnstry_X_Rfrm Age Gender Education using BalanceTable_LegGov_WBexpermnt_Mnstry_X_Rfrm.xlsx, replace pvalues
balancetable LegGov_WBexperimnt_Prtst_X_Rfrm Age Gender Education using BalanceTable_LegGov_WBexperimnt_Prtst_X_Rfrm.xlsx, replace pvalues
balancetable LegGov_WHOexprmnt_Mnstry_X_Rfrm Age Gender Education using BalanceTable_LegGov_WHOexprmnt_Mnstry_X_Rfrm.xlsx, replace pvalues
balancetable LegGov_WHOexpermnt_Prtst_X_Rfrm Age Gender Education using BalanceTable_LegGov_WHOexpermnt_Prtst_X_Rfrm.xlsx, replace pvalues

// Power calculations (Appendix 3)

power twomeans 0 (.0298553), n(7196) sd(.1603612)
power twomeans 0 (-.3459639), n(7198) sd(.188883)
power twomeans 0 (-.2970557), n(7210) sd(.133174)
power twomeans 0 (-.2049088), n(7162) sd(.1905549)
power twomeans 0 (-.5605963), n(7187) sd(.1964262)
power twomeans 0 (-.071151), n(7116) sd(.1064627)
power twomeans 0 (.0502759), n(7205) sd(.1660155)
power twomeans 0 (-.0140986), n(7210) sd(.1374514)
power twomeans 0 (-.0946611), n(7169) sd(.1134801)
power twomeans 0 (.0466906), n(7166) sd(.1783316)
power twomeans 0 (-.1317476), n(7180) sd(.1487293)
power twomeans 0 (-.369022), n(7150) sd(.2054871)
power twomeans 0 (.0562014), n(7197) sd(.1545191)
power twomeans 0 (-.1913783), n(7220) sd(.1403347)
power twomeans 0 (-.278165), n(7171) sd(.1283673)
power twomeans 0 (-.2547398), n(7220) sd(.1927344)
power twomeans 0 (-.2318935), n(7170) sd(.1491128)
power twomeans 0 (-.1546372), n(7174) sd(.1224325)
power twomeans 0 (.0996411), n(7194) sd(.1591439)
power twomeans 0 (-.2048549), n(7163) sd(.1379918)
power twomeans 0 (-.1866787), n(7179) sd(.1283195)
power twomeans 0 (.0492282), n(7221) sd(.1529184)
power twomeans 0 (-.2182025), n(7198) sd(.1836996)
power twomeans 0 (-.2636531), n(7112) sd(.1369992)